package com.zhy.springcloud.dao;

import com.zhy.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author zhy
 * @Description 接口
 * @ClassName PaymentDao
 * @Date 2020/11/12 18:35
 **/
@Mapper
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id") Long id);

}
